package com.zhiyou100.mapper;

import com.zhiyou100.entity.Teacher;

import java.util.List;

/**
 * @author yang
 */
public interface TeacherMapper {

    List<Teacher> getAll();

    Teacher getOneByTid(Integer tid);

    int delOneByTid(Integer tid);

    int addOne(Teacher teacher);

    int updateOne(Teacher teacher);

    Teacher signIn(Integer tid, String tpwd);

}